package com.chenjian.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class SourcesAddVo {

    @NotNull
    private Long moduleId;

    @Size(min = 2, max = 20, message = "名称长度不符合")
    private String sourcesName;

    @NotNull(message = "描述信息不能为空")
    private String sourcesInfo;
}
